package longcaisuyun.longcai.com.net;

import android.util.Log;

import com.zcx.helper.http.AsyCallBack;
import com.zcx.helper.http.note.HttpInlet;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * Created by Administrator on 2016/4/11.
 */

@HttpInlet(Net.SIJIIS)
public class Postchange extends WHAsyPost<Postchange.Info> {

    public String point = "";
    public String driverid = "";
    public String type = "";

    public Postchange( String driverid, String point,String type ,AsyCallBack asyCallBack) {
        super(asyCallBack);
        this.driverid = driverid;
        this.type =type;
        this.point=point;
    }
    @Override
    protected Info parser(JSONObject object) {
        Log.e("object", object.toString());
        Info info = new Info();
        try {
            info.message = object.getString("message");
            return info;
        } catch (JSONException e) {
            e.printStackTrace();
        }


        return null;
    }

    public static class Info {
        public String message = "";

    }
}
